package com.hoolai.synroom.dispatcher;

import com.google.protobuf.GeneratedMessage;
import com.hoolai.synroom.config.ReqCmdProperties;

public class SynRoomBusinessCommand {

    private ReqCmdProperties cmdProperties;

    private GeneratedMessage proto;
    
    private int channelId;

    public SynRoomBusinessCommand(ReqCmdProperties cmdProperties) {
        this.cmdProperties = cmdProperties;

    }

    public SynRoomBusinessCommand(ReqCmdProperties cmdProperties, GeneratedMessage proto) {
        this.cmdProperties = cmdProperties;
        this.proto = proto;
    }
    
    public SynRoomBusinessCommand(ReqCmdProperties cmdProperties, GeneratedMessage proto, Integer channelId) {
        this.cmdProperties = cmdProperties;
        this.proto = proto;
        this.channelId = channelId;
    }

    public ReqCmdProperties getCmdProperties() {
        return cmdProperties;
    }

    public void setCmdProperties(ReqCmdProperties cmdProperties) {
        this.cmdProperties = cmdProperties;
    }

    public GeneratedMessage getProto() {
        return proto;
    }

    public void setProto(GeneratedMessage proto) {
        this.proto = proto;
    }

    public int getChannelId() {
        return channelId;
    }

    public void setChannelId(int channelId) {
        this.channelId = channelId;
    }

}
